package com.xiansiblog.service;

import com.xiansiblog.entity.Picture;

import java.util.List;
/**
*@Description: 照片墙业务层接口
*@Author: 弦思
*@Date 2021/2/3
*/
public interface PictureService {
    //查询照片
    List<Picture> listPicture();

    //添加图片
    int savePicture(Picture picture);

    //根据id查询照片
    Picture getPicture(Long id);

    //    编辑修改相册
    int updatePicture(Picture picture);

    //    删除照片
    void deletePicture(Long id);
}
